<div id="openEditProductNumModel" class="modal fade" tabindex="-1" role="dialog"
     aria-labelledby="openEditProductNumModelLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content" style="width: 650px;">
            <div class="modal-header">
                <h3 class="modal-title" id="openEditProductNumModelLabel">商品信息</h3>
            </div>
            <div class="row">
                <div class="col-lg-12 m-auto">
                    <div class="ibox">
                        <div class="ibox-content">
                            <div class="form-group row">
                                <div class="col-sm-6">
                                    <div class="row">
                                        <label class="col-sm-4 col-form-label text-right">名称：</label>
                                        <label class="col-sm-8 col-form-label">{{editProductNumInfo.prodName}}</label>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="row">
                                        <label class="col-sm-4 col-form-label text-right">规格：</label>
                                        <label class="col-sm-8 col-form-label">{{editProductNumInfo.specName}}</label>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group row">
                                <div class="col-sm-6">
                                    <div class="row">
                                        <label class="col-sm-4 col-form-label text-right">单价：</label>
                                        <label class="col-sm-8 col-form-label">{{editProductNumInfo.prodPrice}}</label>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="row">
                                        <label class="col-sm-4 col-form-label text-right">数量：</label>
                                        <div class="col-sm-5">
                                            <input class="form-control border-radius"
                                                   v-model="editProductNumInfo.count" type="number"
                                                   @blur="_editProductNumComputeMoney()">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group row">
                                <div class="col-sm-6">
                                    <div class="row">
                                        <label class="col-sm-4 col-form-label text-right">优惠方式：</label>
                                        <div class="col-sm-5">
                                            <select class="custom-select" v-model="editProductNumInfo.discountType">
                                                <option selected disabled value="">请选择优惠方式</option>
                                                <option value="1001">打折</option>
                                                <option value="2002">减免</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="row" v-if="editProductNumInfo.discountType=='1001'">
                                        <label class="col-sm-4 col-form-label text-right">打折率：</label>
                                        <div class="col-sm-5">
                                            <input class=" form-control border-radius"
                                                   v-model="editProductNumInfo.discountRate" type="text"
                                                   @blur="_editProductNumComputeMoney()">
                                        </div>
                                    </div>
                                    <div class="row" v-else>
                                        <label class="col-sm-4 col-form-label text-right">减免金额：</label>
                                        <div class="col-sm-5">
                                            <input class=" form-control border-radius"
                                                   v-model="editProductNumInfo.discountPrice" type="text"
                                                   @blur="_editProductNumComputeMoney()">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group row">
                                <div class="col-sm-6">
                                    <div class="row">
                                        <label class="col-sm-4 col-form-label text-right">小计：</label>
                                        <label class="col-sm-8 col-form-label">{{editProductNumInfo.money}}</label>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="row">
                                        <label class="col-sm-4 col-form-label text-right">优惠金额：</label>
                                        <label class="col-sm-8 col-form-label">{{editProductNumInfo.discountPrice}}</label>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-3 pull-right">
                    <button class="btn   btn-primary   btn-lg btn-block"
                            v-on:click="_closeProductNum()">确定
                    </button>
                </div>
                <div class="col-sm-3 pull-right">
                    <button class="btn btn-white btn-lg btn-block" v-on:click="_closeEditProductNum()">取消</button>
                </div>
            </div>
        </div>
    </div>
</div>